﻿using System;

namespace MySql.Simple.Mapper.Attributes
{
    /// <summary>
    /// Attribute to define the SQL table a class should be stored in.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class TableAttribute : Attribute
    {
        /// <summary>
        /// Gets or sets the name of the SQL table.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }
    }
}